<admintpl file="header" />
</head>
<body>
	<div class="wrap js-check-wrap">
		<ul class="nav nav-tabs">
			<li class="active"><a href="{:U('ControlLog/index')}">控制端日志</a></li>
		</ul>
		<ul class="inline">
			<li style="width:200px;">今日登录用户数量：{$today_login_customer_count}</li>
		</ul>
        <form class="well form-search" method="post" action="{:U('ControlLog/index')}"> 
            授权码:
            <input type="text" name="auth_code" style="width: 100px;" value="{$auth_code}" placeholder="授权码">
            &nbsp;<!-- 时间：
			<input type="text" name="start_time" class="js-datetime" value="{$formget.start_time|default=''}" style="width: 120px;" autocomplete="off">-
			<input type="text" class="js-datetime" name="end_time" value="{$formget.end_time|default=''}" style="width: 120px;" autocomplete="off"> &nbsp; &nbsp; -->
            <input type="submit" class="btn btn-primary" value="搜索" />
            <a class="btn btn-danger" href="{:U('ControlLog/index')}">清空</a>
        </form>
		<table class="table table-hover table-bordered">
			<thead>
				<tr>
					<th width="3">ID</th>
					<th width="70">授权码</th>
					<th width="70">登录时间</th>
					<th width="40">登录次数</th>
					<th width="70">用户头像</th>
					<th width="40">用户昵称</th>
					<th width="70">openid</th>
					<th width="70">手机型号</th>
					<th width="40">微信版本</th>
				    <th width="70">操作系统</th>
				    <th width="70">网络类型</th>
					<!-- <th width="10">微信用户标识</th> -->
				</tr>
			</thead>
			<tbody class="tbody-center">
		
				<foreach name="list" item="vo">
				<tr>
					<td>{$vo.id}</td>
					<td>{$vo.auth_code}</td>
					<td>{$vo['last_login_time']||date='Ymd H:i',###}</td>
					<td>{$vo.login_times}</td>
					<td><img style="width:50px;height: 50px;" src="{$vo.avatarurl}"></td>
					<td>{$vo.nickname}</td>
					<td>{$vo.openid}</td>
				    <td>{$vo.model}</td>
				    <td>{$vo.version}</td>
				    <td>{$vo.system}</td>
				    <td>{$vo.networktype}</td>
				   <!--  <td>{$vo.wx_openid}</td> -->
				</tr>
				</foreach>
			</tbody>
		</table>
		<div class="pagination">{$page}</div>
	</div>
	<script src="__PUBLIC__/js/common.js"></script>
</body>
</html>